package services.restaurant;

import java.sql.SQLException;
import java.util.List;

import beans.RestaurantVO;

public interface RestaurantService {

    public void insert(RestaurantVO restaurantVO) throws SQLException;
    
    public void delete(RestaurantVO restaurantVO) throws SQLException;
    
    public void update(RestaurantVO restaurantVO) throws SQLException;
    
    public List<RestaurantVO> selectAll() throws SQLException;
    
    public List<RestaurantVO> selectByName(RestaurantVO restaurantVO) throws SQLException;
    
    public boolean exist(RestaurantVO restaurantVO) throws SQLException;
}